package ch6.ex2;

import static ch6.print.Print.println;

public class Cleanser2 {
	private String s = "Cleanser2";
	
	public void append(String a){
		s += a;
	}
	public void dulite(){
		append(" dulite()");
	}
	public void apply(){
		append(" apply()");
	}
	public void scrub(){
		append(" scrub()");
	}
	public String toString(){
		return s;
	}
	
	public static void main(String... args){
		Cleanser2 c = new Cleanser2();
		c.dulite();
		c.apply();
		c.scrub();
		println(c);
	}
}
